package com.sanchunhui.psc.injection.component

import com.sanchunhui.psc.injection.PerComponentScope
import com.sanchunhui.psc.injection.module.ProjectTeamModule
import com.sanchunhui.psc.ui.activity.AddTeamActivity
import com.sanchunhui.psc.ui.activity.TeamMembersActivity
import com.sanchunhui.psc.ui.activity.SearchMemberActivity
import com.sanchunhui.psc.ui.activity.SetTeamInfoActivity
import com.sanchunhui.psc.ui.fragment.ProjectTeamsFragment
import com.sanchunhui.psc.ui.fragment.TeamMembersFragment
import dagger.Component

/**
 * @Author zyx
 * @Date 2021/7/10-11:02
 * @Dscribe
 */

/*
    分组管理模块Component
 */
@PerComponentScope
@Component(dependencies = arrayOf(ActivityComponent::class),modules = arrayOf(
    ProjectTeamModule::class))
interface ProjectTeamComponent {
    fun inject(fragment: ProjectTeamsFragment)
    fun inject(activity: TeamMembersActivity)
    fun inject(activity: AddTeamActivity)
    fun inject(activity: SearchMemberActivity)
    fun inject(activity: SetTeamInfoActivity)
}